<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Balz<br>
    <br>
    Am 04.06.13 17:05, schrieb basZero:
    <blockquote
cite="mid:CAOXzDSFEGZFk_1rR2jsBttnotiqBJHTbGacUzoesJCHe8Wv77A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks Michael,
        <div><br>
        </div>
        <div>I'll have a look at the yanel view then, seems to be a
          possibility.</div>
      </div>
    </blockquote>
    <br>
    Please see for example<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://www.yanel.org//en/documentation/basic-xml-resource-type.html">http://www.yanel.org//en/documentation/basic-xml-resource-type.html</a><br>
    <blockquote
cite="mid:CAOXzDSFEGZFk_1rR2jsBttnotiqBJHTbGacUzoesJCHe8Wv77A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div style="">I checked the mails already, the topic was
          similar, but there it was about how to render a "&" in the
          html.</div>
      </div>
    </blockquote>
    <br>
    do you have a link to the public mailing list about this?<br>
    <br>
    Thanks<br>
    <br>
    Michael<br>
    <blockquote
cite="mid:CAOXzDSFEGZFk_1rR2jsBttnotiqBJHTbGacUzoesJCHe8Wv77A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style=""><br>
        </div>
        <div style="">Cheers</div>
        <div style="">Balz</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Jun 4, 2013 at 5:02 PM, Michael
          Wechner <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi Balz<br>
              <br>
              As a workaround you might make the same resource available
              under two URLs, but with different configurations<br>
              or you can also configure an additional view and use this
              view for xinclude, e.g.<br>
              <br>
              <b><xi:include
                href="yanelresource:/blabla/blabla?yanel.resource.viewid=xml"/></b><br>
              <br>
              Otherwise I need to check the code more closely how one
              could make this work, but IIRC we discussed this before.<br>
              Maybe I find something inside the mailing lists...<br>
              <br>
              HTH<br>
              <br>
              Michael<br>
              <br>
              Am 04.06.13 16:50, schrieb basZero:
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">Hi michael,
                      <div><br>
                      </div>
                      <div>resource B is also used directly.</div>
                      <div>yes it would work when I set it to
                        application/xml.</div>
                      <div><br>
                      </div>
                      <div>But there must be a way to do this also in
                        text/html mode...</div>
                      <div><br>
                      </div>
                      <div>cheers</div>
                      <div>balz</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">On Tue, Jun 4, 2013 at
                        4:42 PM, Michael Wechner <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:michael.wechner@wyona.com"
                            target="_blank">michael.wechner@wyona.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> Dear
                            Balz<br>
                            <br>
                            Does it work when you set the mime type of
                            resource B to application/xml and when you
                            use the XML serializer?<br>
                            Do you have to access resource B also
                            directly or is it only used via xinclude?<br>
                            <br>
                            Cheers<br>
                            <br>
                            Michael<br>
                            <br>
                            Am 04.06.13 15:42, schrieb basZero:
                            <div>
                              <div>
                                <blockquote type="cite">
                                  <div dir="ltr">dear all,
                                    <div><br>
                                    </div>
                                    <div>I wanted to implement the
                                      following, but I struggled.</div>
                                    <div><br>
                                    </div>
                                    <div><b>What I have:</b></div>
                                    <div>- There are two resources (A+B)
                                      producing a valid HTML page with
                                      mime type "text/html".</div>
                                    <div>So when looking at the source
                                      of those HTML pages, I see this at
                                      the top:</div>
                                    <div><br>
                                    </div>
                                    <div><!DOCTYPE html PUBLIC
                                      "-//W3C//DTD HTML 4.01
                                      Transitional//EN" "<a
                                        moz-do-not-send="true"
                                        href="http://www.w3.org/TR/html4/loose.dtd"
                                        target="_blank">http://www.w3.org/TR/html4/loose.dtd</a>"><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>- Resource B is able to deliver
                                      the whole page without menu and
                                      sidebar. This is achieved by
                                      passing in a URL parameter.</div>
                                    <div><br>
                                    </div>
                                    <div><b>What i want:</b></div>
                                    <div><br>
                                    </div>
                                    <div>- I would like to call the
                                      resource B with contentonly=true
                                      and include the resulting HTML
                                      code into the page of resource A.</div>
                                    <div><br>
                                    </div>
                                    <div>How can you do that?</div>
                                    <div> <br>
                                    </div>
                                    <div>When I use the following in a
                                      XSL of resource A...</div>
                                    <div><br>
                                    </div>
                                    <div><b><xi:include
                                        href="yanelresource:/blabla/blabla"/></b><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div> ... it gives me this error:</div>
                                    <div>Transformation error: <a
                                        moz-do-not-send="true"
                                        href="http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3"
                                        target="_blank">http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3</a>:
                                      exception:org.xml.sax.SAXParseException:
                                      The declaration for the entity
                                      "HTML.Version" must end with
                                      '>'. root-cause:null line: --
                                      Typical usage: line: ^ error:
                                      org.xml.sax.SAXParseException: The
                                      declaration for the entity
                                      "HTML.Version" must end with
                                      '>'. ).<br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>If you know something about how
                                      to include the HTML output of
                                      another resource in the called
                                      resource's XSL, let me know.</div>
                                    <div><br>
                                    </div>
                                    <div>Cheers</div>
                                    <div> Bas</div>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                </blockquote>
                                <br>
                              </div>
                            </div>
                          </div>
                          <br>
                          --<br>
                          Yanel-development mailing list <a
                            moz-do-not-send="true"
                            href="mailto:Yanel-development@wyona.com"
                            target="_blank">Yanel-development@wyona.com</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development"
                            target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            --<br>
            Yanel-development mailing list <a moz-do-not-send="true"
              href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
            <a moz-do-not-send="true"
              href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development"
              target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>