C
CSharper
How do I go about converting xslt transform to an EMF document? I am
able to transform into a html but not sure about EMF format.
Thanks,
able to transform into a html but not sure about EMF format.
Thanks,
CSharper said:How do I go about converting xslt transform to an EMF document? I am
able to transform into a html but not sure about EMF format.
http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!148.entry
You write the code to make whatever output file you'd like.
I use xsl to
go from xml to xml
go from xml to .bat files
go from xml to excel open office standard.
The url above will give you how to do xml to xml.
I think you will need the
<xslutput method="text" />
processing instruction to strip out the top-most xml declaration (first
line) in the output file.
Which EMF are you talking about (you might want to post the full name, not
just the acronym on a lesser known format)?
Do you have a sample of what it looks like?
- Show quoted text -
http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!148.entry
You write the code to make whatever output file you'd like.
I use xsl to
go from xml to xml
go from xml to .bat files
go from xml to excel open office standard.
The url above will give you how to do xml to xml.
I think you will need the
<xslutput method="text" />
processing instruction to strip out the top-most xml declaration (first
line) in the output file.
Which EMF are you talking about (you might want to post the full name, not
just the acronym on a lesser known format)?
Do you have a sample of what it looks like?
- Show quoted text -
If you have a
solution which converts XSLT to Metafiles
Ok, so the big question is:
Are "metafiles" text or xml based? If so, then you have to write the xsl
logic to create those files.
There is no simple solution. You'll have to learn the EMF format and then
learn how to output xsl results to this format.
Even when I do something like:
//go from xml to .bat files//
I have to "learn" the .bat file format, and write my logic inside of my xsl
to mimic the .bat format.http://www.allenware.com/icsw/icsw030.htm
For my code, I had to learn the .bat "choice" command, and mimic that
output.
You have to discover the EMF format and see if its producable. Good luck.
As Martin said, if EMF is not text based, then you're probably barking up
the wrong tree.
This is off of a following answer I got for using a thrid party
control which can convert XSLT to PDF
Hi,
wPDFControl (not wPDF) can converet metafiles into PDF. If you have a
solution which converts XSLT to Metafiles wPDFControl could create a
PDF from it.
I assume though, there are solutions which do irt directly.
Julian
What I am after is to convert the XSLT transformed document to PDF.
Thanks,- Hide quoted text -
- Show quoted text -
As Martin said, if EMF is not text based, then you're probably barking up
the wrong tree.
It's not and he is. EMF is a graphics format. (Well, assuming he's talking
about Enhanced Metafile, that is.)
I think he's actually talking about Eclipse Modeling Framework documents -
which are an xml document format that describes an object model:
http://www.eclipse.org/modeling/emf/docs/
AFAIK the XML format itself used by EMF is XMI.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.