Hi again all,

Just an update on the preceding issue...

Rossko: Thanks for your suggestion. I surely had checked online before
posting it here, but I hoped that someone probably had done it before me to
save up on some time.

I did go through a lot of searching online fore a solution and I was able to
sort the XML using an XSL style sheet so this was not the problem. My issue
was that I didn't want to change my working and functional javascript code
for the maps, in which I would get all the information for the coordinates
and the markers from the XML file and place it in the sidebar.

My goal was to hopefully format that XML file using an XSL stylesheet (which
would return a sorted XML file) before using that returned XML back in my
javascript.
After a lof of digging, I found that it is possible to return an XML
document from an XSL, and it should also be possible to return a sorted XML
document after formatting it with an XSL.

With all of that, I still tried doing my plea with sorting the XML using XSL
first, and then getting the XML data into the map page, using the GXslt
object to format the XML and return it as XML. That is where I failed... I
tried different ways but it seemed that my XSL stylesheet always only
returned formatted html while I needed some formatted XML.

Also, the GXslt object only contains functions to create an XSL stylesheet
instance *[**GXslt.create(xsltnode:Node)]* and another one to transform the
XML to html using that XSL stylesheet *[GXslt.transformToHtml(xmlnode:Node,
htmlnode:Node)]*. This latter function again only transforms the XML to HTML
instead of transforming it back as a sorted XML document and so none of my
tries with this function worked fine.

After many differents tries, I kinda gave up on that endeavour, and decided
to go with the simpler but probably less efficient way of sorting my data
(please correct me if I'm wrong).

I used Martin's functions and techniques which deemed very useful and worked
like a charm.

If anyone was successful at doing what I unfortunately wasn't , please let
me know.

Thanks all.
hk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to