Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kyle Skrinak 58 posts 20 karma points
    Apr 01, 2009 @ 19:27
    Kyle Skrinak
    0

    Simple xslt set attribute question

    I wish to change the tag in my document template.

    My current line is:
    " onload="init()">

    which renders as:



    but I'm confident there's a right way to do this.

    Thanks!

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Apr 01, 2009 @ 20:01
    Ismail Mayat
    0

    figgles,

    Nothing wrong with you have done. You also put a macro there instead of page so you could do some conditional stuff.

    Regards

    Ismial

  • Kyle Skrinak 58 posts 20 karma points
    Apr 01, 2009 @ 20:13
    Kyle Skrinak
    0

    I'm being my usual obtuse self. I'd like to not have the before and after spaces. However, if I remove them, i.e.,
    " onload="init()">
    I get an error at render (and no page)

    Thanks!!!

  • Petr Snobelt 923 posts 1535 karma points
    Apr 02, 2009 @ 08:55
    Petr Snobelt
    0

    I'm not sure but what about " issue try:


    or you can try use before and after fields when inserting pagefield into template

    Petr

  • Kyle Skrinak 58 posts 20 karma points
    Apr 02, 2009 @ 18:08
    Kyle Skrinak
    0

    [quote=Petr Snobelt]I'm not sure but what about " issue try: Petr[/quote]Awesome -- that did the trick -- much thanks!

Please Sign in or register to post replies

Write your reply to:

Draft