XDOMTransform Syntax XDOMTransform(domHandle, styleSheet, ssLocation, outDomHandle)
Description The XDOMTransform function transforms input DOM structure using the style sheet specified by styleSheet to output DOM structure.7-34 C:\Program Files\Adobe\FrameMaker8\UniVerse Parameters The following table describes each parameter of the syntax.XDOMTransform Parameters Parameter Description domHandle Handle to the DOM structure. [IN] styleSheet Handle to the context [IN] ssLocation A flag to specify whether styleSheet contains style sheet itself, or is just the style sheet file name. Value values are: XML.FROM.FILE (default) XML.FROM.STRING [IN] outDomHandle Handle to the resulting DOM structure. [OUT] The above was borrowed (reprinted w/o permission) from section 7-34 of the Universe XML docs http://publibfp.boulder.ibm.com/epubs/pdf/22922360.pdf I haven't tried it myself yet, sorry. > Date: Wed, 5 Aug 2009 16:15:50 -0400 > From: [email protected] > To: [email protected] > Subject: Re: [U2] xml mapping file question > > That is exactly what I mean Jo. > > If I were to do: > > SORT VOC TOXML XMLMAPPING some_file.map TO some-xml-file > > then in some-xml-file I would expect to see > > <?xml version="1.0" encoding="ISO-8859-1"?> > <?xml-stylesheet type="text/xsl" href="simple.xsl"?> > <ROOT> > > yada yada yada > > </ROOT> > > On Wed, Aug 5, 2009 at 4:05 PM, Jo Lester<[email protected]> wrote: > > > > Do you mean something like this? > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <?xml-stylesheet type="text/xsl" href="simple.xsl"?> > > > > > > > > > > > > The above was borrowed (reprinted w/o permission) from > > http://www.w3schools.com/XML/xml_xsl.asp > > > > > > > > or do you mean attaching a particular style to a particular element, by > > adding an attribute? > > > > > > > > > > > > > > > >> Date: Wed, 5 Aug 2009 14:45:47 -0400 > >> From: [email protected] > >> To: [email protected] > >> Subject: [U2] xml mapping file question > >> > >> Hello all, > >> > >> Is there a way to insert stylesheet information in the mapping file? > >> For instance: > >> > >> <U2 > >> root="name" > >> treat-as="element" > >> stylesheet="some.xsl" > >> /> > >> > >> It would save me a lot of work and a huge headache if I could get that > >> information in the mapping file. > >> > >> Thanks, > >> > >> Norm > >> _______________________________________________ > >> U2-Users mailing list > >> [email protected] > >> http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > _________________________________________________________________ > > Express your personality in color! Preview and select themes for Hotmail®. > > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009 > > _______________________________________________ > > U2-Users mailing list > > [email protected] > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users _________________________________________________________________ Get free photo software from Windows Live http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI_PH_software:082009 _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
