[oXygen-user] Oxygen 13.1

Dan Caprioara dan at sync.ro
Fri Aug 26 04:48:31 CDT 2011


Hello Mark,

What kind of output method are you using in your stylesheets?

Specifying "html" would make the XSLT transformer create an end tag for 
the "script" element. However, it does not add a space between tags.

If your output documents are XHTML, you do not need the extra whitespace 
between the tags. From our website:

<script src="/js/jquery-1.3.2.js" type="text/javascript" 
charset="utf-8"></script>

Note that the settings for the XML format do not apply on the output 
that is generated by an XSLT processor. They are used from the Format 
and Indent action.

Regards,
Dan


On 8/26/2011 12:17 PM, Mark wrote:
> Hi Radu,
>
> Thanks for the information about CSS 3 and Oxygen 13. Here's something to
> think about for your next version:
>
> When generating XHTML from XSLT, a JavaScript element requires content (in
> this case a blank space) in order to load J-Query:
> <script type="text/JavaScript" xml:space="preserve"
> src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
> </script>
>
> [Note space between>  </script>]
> If I do not put the space in, I always get a "J-Query did not load" error.
> In order to do this, I have to set my preferences to produce ugly double
> tags for "empty" elements instead of neat<..../>  single tag elements. It
> would be great if I could specify<script>  elements to be produced with
> double tags and a space "<script....>  </script>" and all other "empty"
> elements as<x.../>
>
> I used to have some sort of problem validating<meta>  tags produced via
> XSLT, but I no longer remember what it was or if the "double tag" hack
> solved it or not.
> Mark
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>


More information about the oXygen-user mailing list