Subject: RE: [xsl] Transformation with XSLT & XML In Same File From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Date: Wed, 28 Jan 2004 14:42:05 +0000 |
For a completely xml solution your file would have to be well formed, not simply an xml file then an xslt file. I do something similar with xslt when I cannot use the document function to access external documents. I have an xslt file that doees the transform and I have a child of the stylesheet element called 'source' with a declared namespace prefix, eg.g joe:source. This element contains the xml file. Then use document('')/*/joe:source/* as the xpath in a variable element to give me the document element of my xml file.From: Ronald Kent Gibson <Kent.Gibson@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: "'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] Transformation with XSLT & XML In Same File Date: Wed, 28 Jan 2004 14:54:30 +0100
Dear All
Before any one asks, why would you ever want to do such a thing, I am sort of forced into.
Anyways a have one document with the xml definition at the beginning of the document and xslt at the end (or vice versa is possible). I would like to transform the xml.
Do any of the transformers support such a funny set up, or am I going to have to split up the files some way.
thanks
kent
_________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Transformation with XSLT , Michael Kay | Thread | RE: [xsl] Transformation with XSLT , SHEIKH Sajjad |
Re: [xsl] Empty object, David Carlisle | Date | RE: [xsl] finding elements lowest i, Strolia-Davis Christ |
Month |