|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Help needed in Converting XML to XSLT
Have look this one as an example. You can display current XML document by using xsl href="/cargo/xsl/truck/TruckVoyageEdit.xsl" it works as below - Browser gets XML documents then browser loads XSL document defined on XML document. So XSLT done on client side by Browser. So first , you should find these answers. a-) How you will provide XML document b-) How internet explorer or firefox will provide XSL document c-) is there any action from browser to Server Side. d-) if yes use msXML or others Brgs <?xml version="1.0" encoding="ISO-8859-9"?> <?xml-stylesheet type="text/xsl" href="/cargo/xsl/truck/TruckVoyageEdit.xsl"?> <root> <rec url="/cargo/truck/TruckVoyageEdit"> <code t="C" ml="20" a="UKD">05.04.00002</code> <drs t="C" ml="16" a="UD">34 AD 7106</drs> <etd t="D" a="N">02/04/2005</etd> <eta t="D" a="N">13/04/2005</eta> <etr t="D">13/04/2005</etr> <atd t="D">05/04/2005</atd> <ata t="D" /> <atr t="D" /> <eid t="C" ml="1">E</eid> <coun t="C" ml="2" f="GERMANY">DE</coun> <cityid t="I" f="FRANKFURT">1435</cityid> <des t="CA" ml="500" /> <outkarne t="C" ml="20" a="D" /> <inkarne t="C" ml="20" a="D" /> <outkarne2 t="C" ml="20" a="D" /> <inkarne2 t="C" ml="20" a="D" /> <st t="NS">9</st> <st2 t="NS">901</st2> <bd2 t="CM" /> <bd3 t="CM">askili</bd3> <towid t="NI" /> <stfid t="I" /> <ckc t="C">34 ZBR 30</ckc> <drvid t="I" f="KEMAL ALTUN">-2147397875</drvid> <closed t="CB">f</closed> </rec> <motion> <E> <m c="TR" cn="TURKEY" /> <m c="IT" cn="ITALY" /> <m c="AT" cn="AUSTRIA" /> <m c="DE" cn="GERMANY" /> </E> <I> <m c="DE" cn="GERMANY" /> <m c="AU" cn="AUSTRALIA" /> <m c="IT" cn="ITALY" /> <m c="TR" cn="TURKEY" /> </I> </motion> <loc> <E loadcity="ISTANBUL" arvcity="FRANKFURT" /> <I loadcity="FRANKFURT" arvcity="ISTANBUL" /> </loc> </root> Quoting Michael Kay <mike@s...>: > A good place to start is the XSLT tutorial at > > http://www.w3schools.com/xsl/ > > Michael Kay > http://www.saxonica.com/ > > > _____ > > From: Satish S [mailto:satish.s@h...] > Sent: 06 May 2005 05:44 > To: Michael Kay; xml-dev@l... > Subject: Re: Help needed in Converting XML to XSLT > > > Hi Michael, > > I am having a XML document which is exported from quark express. I need the > output in html so that I could view that in internt explorer, I would really > appreciate if any one could guide me how to convert xml to html? > > Thanking you > Sathish > > ----- Original Message ----- > From: Michael Kay <mailto:mike@s...> > To: 'Satish S' <mailto:satish.s@h...> ; xml-dev@l... > Sent: Thursday, May 05, 2005 10:09 PM > Subject: RE: Help needed in Converting XML to XSLT > > I am somewhat new to the XML, I want to convert a XML file to XSLT.... > > > Are you sure? XSLT is a language for converting XML documents into other > documents. Because XSLT is itself an XML vocabulary, it is possible to > generate XSLT stylesheets as the output of a transformation, but it's > unusual and not for beginners. What do you actually want to achieve? > > Michael Kay > http://www.saxonica.com/ > > > Can any one help me about the required information > > Thanking You > Sathish > > > > _____ > > > ***Disclaimer*** > This email, and any attachments ("this email"), is confidential. If you are > not the addressee > please tell the sender immediately, and destroy this email without using, > sending or storing it. Any opinions, express or implied, in this email, are > those of the sender, and are not > necessarily approved by Hurix Systems. Except as expressly stated, this > e-mail should not be > regarded as an offer, solicitation, recommendation or agreement to buy or > sell products or > services, or to enter into any contract. E-mail transmissions are not secure > and may suffer > errors, viruses, delay, interception and amendment. Hurix Systems does not > accept liability > for damage caused by any of the foregoing. > > HURIX SYSTEMS MAY MONITOR ALL INCOMING AND OUTGOING MAILS > > _____ > > > > _____ > > ***Disclaimer*** > This email, and any attachments ("this email"), is confidential. If you are > not the addressee > please tell the sender immediately, and destroy this email without using, > sending or storing it. Any opinions, express or implied, in this email, are > those of the sender, and are not > necessarily approved by Hurix Systems. Except as expressly stated, this > e-mail should not be > regarded as an offer, solicitation, recommendation or agreement to buy or > sell products or > services, or to enter into any contract. E-mail transmissions are not secure > and may suffer > errors, viruses, delay, interception and amendment. Hurix Systems does not > accept liability > for damage caused by any of the foregoing. > > HURIX SYSTEMS MAY MONITOR ALL INCOMING AND OUTGOING MAILS > > _____ > > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||






