我们在学校经营一个技术小组并运行学校网站。该网站使用Sublime Text使用XML / XSLT进行编码。我们想向老师展示我们在视觉上做出的改变(因为他无法真正理解代码)。但是,我们不希望公开发布它们以显示更改,以防出现问题并且我们想要更改代码。 我找到了两种方法来尝试这一点。是的,我们可以使用git hub来显示更改,但我想使用模拟方式显示网站..没有代码永久..现在..
下面的代码来自网站上的一个页面..它连接到整个站点地图,以便人们可以转到多个页面,但为了简单起见,例如我想要显示以下页面/代码:< / p>
示例代码
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="../../../cas.xsl" ?>
<cas>
<title>Student Council</title>
<advisor>Counsellor</advisor>
<updated>8/5/2013</updated>
<imagelist>
<imagegroup>
<image>studentcouncil1.jpg</image>
</imagegroup>
<imagegroup>
<image>studentcouncil2.jpg</image>
</imagegroup>
<imagegroup>
<image>studentcouncil3.jpg</image>
</imagegroup>
</imagelist>
<content>
<headline>Activity Overview</headline>
<subcontent>
<main maintype="normal">The Student Council fulfils an integral role in the St. George?fs Community, acting as the predominant liaison between the students and the administrators of the school. Representing the entire student body of St. George?fs, the Student Council works on a variety of initiatives that help enrich student life. While such initiatives vary greatly from year to year, throughout the 2013-14 school year the Student Council has attempted to raise funds to support the refurnishing of student lounges, increase school spirit through a variety of events and activities, and instigate awareness of world events through charity drives.&nbsp;</main>
</subcontent>
</content>
<content>
<headline>Group Philosophy</headline>
<subcontent>
<subheadline>List of Initiatives for 2013 ~ 2014</subheadline>
<main maintype="list">Excursions for All Grade Levels</main>
<main maintype="list">Senior Privileges</main>
<main maintype="list">Lounge Reformation</main>
<main maintype="list">Sales of Titans Merchandise</main>
<main maintype="list">Tri- School Movie Night</main>
<main maintype="list">Tri- School Dance</main>
<main maintype="list">Tri- School Prom</main>
<main maintype="list">Spirit Day</main>
<main maintype="list">Career Day</main>
<main maintype="list">December Charity Drive for Philippines</main>
<main maintype="list">Facebook Weekly Shoutouts</main>
<main maintype="normal">&nbsp;</main>
</subcontent>
<subcontent>
<subheadline>Responsibilities</subheadline>
<main maintype="normal">The members of the Student Council have biweekly meetings from 11:00-12:00, primarily discussing future and past events, resource allocation, and general suggestions that non-Student Council members have. As the Student Council represents a prestigious collection of elected individuals, members are expected to wholeheartedly commit to the Student Council and voluntarily support the aforementioned initiatives.&nbsp;</main>
</subcontent>
</content>
<content>
<headline>Election Process</headline>
<subcontent>
<subheadline>How the representatives are chosen</subheadline>
<main maintype="normal">Student Council representatives are voted at the end of the previous school year. Candidates who run for Executive positions must speak before the entire High School student body and are henceforth chosen through school-wide ballots. Class Presidents and Class Representatives must submit a 150-word blurb and are henceforth chosen through grade-wide ballots.&nbsp;</main>
</subcontent>
</content>
<content>
<headline>Members 2015~2016</headline>
<subcontent>
<subheadline>Student Council Executive Board</subheadline>
<main maintype="normal"><strong>President</strong>- Xi Vlakov (12)</main>
<main maintype="normal"><strong>Vice- President</strong>- Gundar Baku (12)</main>
<main maintype="normal"><strong>Secretary</strong>- Dan Loo Wang (11)&nbsp;</main>
<main maintype="normal"><strong>Treasurer</strong>- Akhbar Do Johnson (12)&nbsp;</main>
<main maintype="normal">&nbsp;</main>
</subcontent>
</content>
<content>
<headline>Past Events</headline>
<subcontent>
<subheadline>Christmas Concert</subheadline>
<main maintype="normal">On December 7th and 8th, St.George's held the annual Christmas concerts at the ES and HS level for both instrumental and choral divisions. As student council representatives, we promoted donations to the Philippines and asked for some money at the concerts. Grade representatives went around the audience passing around some bags, and after the collection, we were amazed at how much we were able to collect. Through the sales of Christmas grams, bake sales, ES sharing boxes, athletics sales, and general donations, we were able to collect lots, attaining our goals before the end of the year. The spirit of giving has permeated the student body, and students as well as faculty members united to donate towards the victims of the typhoon in the Philippines.&nbsp;</main>
</subcontent>
<subcontent>
<subheadline>Movie Night</subheadline>
<main maintype="normal">On November 21st, the student council held the first ever movie night in the band room. This was a social even where students were encouraged to sit in the band room with some snacks to watch a movie. Each student paid to enter and watch the movie. From 5pm to 6:45pm was the first movie, and the second movie ran from7pm to 9om. The first movie was called the Intouchables and the second one was called Now You See Me. They were both amazing movies and the audience had mentioend it was an enjoyable evening, and our sales at the concessions stand were also very fruitful. We plan to hold this event again because there is no cost in running this event, except buying the DVD's, which is much cheaper than hosting a dance party. Ms. Cawa was very cooperative in this idea, and she was also content with how there was no mes left over in the band room. It was the first time that the student council hosted this event, so the high school administration was also very delighted with this idea. Booking and arranging of the room took some time, but other than that, everything went smoothly and we wish to host another one in the near future.&nbsp;</main>
</subcontent>
</content>
</cas>