618543
677
Verklein
Vergroot
Pagina terug
1/694
Pagina verder
To the top
Previewing XML data
When you use Preview in Browser (File > Preview in Browser) to preview XML data that you’ve inserted in an XSLT fragment or an entire XSLT
page, the engine that performs the XSL transformation differs from situation to situation. For dynamic pages containing XSLT fragments, the
application server always performs the transformation. At other times, either Dreamweaver or the browser might be performing the transformation.
The following table summarizes the situations when using Preview in Browser, and the engines that perform the respective transformations:
Type of page previewed in browser Data transformation performed by
Dynamic page containing XSLT fragment Application server
XSLT fragment or entire XSLT page Dreamweaver
XML file with link to entire XSLT page Browser
The following topics provide guidelines for helping you determine the appropriate previewing methods, based on your needs.
Previewing pages for server-side transformations
In the case of server-side transformations, the content the site visitor ultimately sees is transformed by your application server. When building
XSLT and dynamic pages for use with server-side transformations, it is always preferable to preview the dynamic page that contains the XSLT
fragment instead of the XSLT fragment itself. In the former scenario, you make use of the application server, which ensures that your preview is
consistent with what your site visitors will see when they visit your page. In the latter scenario, Dreamweaver performs the transformation, and
could provide slightly inconsistent results. You can use Dreamweaver to preview your XSLT fragment while you are building it, but you’ll be able to
see the most accurate results of the data rendering if you use the application server to preview your dynamic page after you’ve inserted the XSLT
fragment.
Previewing pages for client-side transformations
In the case of client-side transformations, the content the site visitor ultimately sees is transformed by a browser. You accomplish this by adding a
link from the XML file to the XSLT page. If you open the XML file in Dreamweaver and preview it in a browser, you force the browser to load the
XML file and perform the transformation. This provides you with the same experience as that of your site visitor.
Using this approach, however, makes it more difficult to debug your page because the browser transforms the XML and generates the HTML
internally. If you select the browser’s View Source option to debug the generated HTML, you will only see the original XML that the browser
received, not the full HTML (tags, styles, and so forth) responsible for the rendering of the page. To see the full HTML when viewing source code,
you must preview the XSLT page in a browser instead.
Previewing entire XSLT pages and XSLT fragments
When creating entire XSLT pages and XSLT fragments, you’ll want to preview your work to make sure that your data is being displayed correctly.
If you use Preview in Browser to display an entire XSLT page or an XSLT fragment, Dreamweaver performs the transformation using a built-in
transformation engine. This method gives you quick results, and makes it easier for you to incrementally build and debug your page. It also
provides a way for you to view the full HTML (tags, styles, and so forth) by selecting the View Source option in the browser.
Note: This previewing method is commonly used when you begin building XSLT pages, regardless of whether you use the client or the server to
transform your data.
More Help topics
XML tutorial
Legal Notices | Online Privacy Policy
670
677

Hulp nodig? Stel uw vraag in het forum

Spelregels
1

Forum

Adobe-Dreamweaver-CS6

Zoeken resetten

  • Ik gebruik Adobe Dreamweaver CS6 onder windows 7. Werkt fantastisch maar de optie Spry die daarin zit wordt niet meer ondersteund door Android.
    Ik maak menu's maar gebruik de optie Spry dus niet meer, wel ben ik benieuwd als ik over ga naar windows 10 of de versie DW CS6 nog wel zal functioneren?
    Wie heeft daar ervaring mee? Gesteld op 11-5-2017 om 07:31

    Reageer op deze vraag Misbruik melden

Misbruik melden

Gebruikershandleiding.com neemt misbruik van zijn services uitermate serieus. U kunt hieronder aangeven waarom deze vraag ongepast is. Wij controleren de vraag en zonodig wordt deze verwijderd.

Product:

Bijvoorbeeld antisemitische inhoud, racistische inhoud, of materiaal dat gewelddadige fysieke handelingen tot gevolg kan hebben.

Bijvoorbeeld een creditcardnummer, een persoonlijk identificatienummer, of een geheim adres. E-mailadressen en volledige namen worden niet als privégegevens beschouwd.

Spelregels forum

Om tot zinvolle vragen te komen hanteren wij de volgende spelregels:

Belangrijk! Als er een antwoord wordt gegeven op uw vraag, dan is het voor de gever van het antwoord nuttig om te weten als u er wel (of niet) mee geholpen bent! Wij vragen u dus ook te reageren op een antwoord.

Belangrijk! Antwoorden worden ook per e-mail naar abonnees gestuurd. Laat uw emailadres achter op deze site, zodat u op de hoogte blijft. U krijgt dan ook andere vragen en antwoorden te zien.

Abonneren

Abonneer u voor het ontvangen van emails voor uw Adobe Dreamweaver CS6 bij:


U ontvangt een email met instructies om u voor één of beide opties in te schrijven.


Ontvang uw handleiding per email

Vul uw emailadres in en ontvang de handleiding van Adobe Dreamweaver CS6 in de taal/talen: Engels als bijlage per email.

De handleiding is 6,14 mb groot.

 

U ontvangt de handleiding per email binnen enkele minuten. Als u geen email heeft ontvangen, dan heeft u waarschijnlijk een verkeerd emailadres ingevuld of is uw mailbox te vol. Daarnaast kan het zijn dat uw internetprovider een maximum heeft aan de grootte per email. Omdat hier een handleiding wordt meegestuurd, kan het voorkomen dat de email groter is dan toegestaan bij uw provider.

Stel vragen via chat aan uw handleiding

Stel uw vraag over deze PDF

loading

Uw handleiding is per email verstuurd. Controleer uw email

Als u niet binnen een kwartier uw email met handleiding ontvangen heeft, kan het zijn dat u een verkeerd emailadres heeft ingevuld of dat uw emailprovider een maximum grootte per email heeft ingesteld die kleiner is dan de grootte van de handleiding.

Er is een email naar u verstuurd om uw inschrijving definitief te maken.

Controleer uw email en volg de aanwijzingen op om uw inschrijving definitief te maken

U heeft geen emailadres opgegeven

Als u de handleiding per email wilt ontvangen, vul dan een geldig emailadres in.

Uw vraag is op deze pagina toegevoegd

Wilt u een email ontvangen bij een antwoord en/of nieuwe vragen? Vul dan hier uw emailadres in.



Info